<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org">
<head>
	<link th:replace="fragment/common_index_header" />
	<title>路由管理</title>
</head>
<body class="gray-bg">
<div class="content">
	<div class="row">
		<div class="col-md-12">
			<div class="box">
				<div class="box-header with-border">
					<h3 class="box-title">
						<i class="fa fa-filter"></i> 查询条件
					</h3>
					<div class="box-tools pull-right">
							<button type="button" class="btn btn-primary btn-xs" onclick="search()">
		          		 		<i class="fa fa-search"></i> 搜索
		          			</button>
		          			<button type="button" class="btn btn-info btn-xs" onclick="reset()">
		          				<i class="fa fa-refresh"></i> 重置
		          			</button>
		          			<button type="button" class="btn btn-box-tool" data-widget="collapse" data-toggle="tooltip" title="Collapse">
	             					<i class="fa fa-minus"></i>
	           				</button>
					</div>
				</div>
				<div class="form-body" id="form">
					<form id="searchForm" action="">
						<div class="box-body">
							
				           	<div class="col-xs-6 col-sm-3 col-md-2 col-lg-2">
					            <label for="namespace">命名空间</label>
			  					<select class="form-control simpleSelect" id="namespace" name="namespace">
	                 			</select>
				           	</div>
				           	
				           	<div>
				           		<b>配置权重路由注意事项：</b>
				           		<div>1.如果配置的route存在权重，此时需要去除权重，需要先将权重重置为0后才能去除</div>
				           		<div>2.如果删除route，但是route中存在权重，需要先将权重重置为0后才能删除</div>
				           	</div>
				       </div>
					</form>
				</div>
				<div class="row">
					<div class="col-xs-12 col-sm-12 col-md-12 col-lg-12 data-grid-box">
						<div class="ibox jqGrid_ibox">
				            <div class="ibox-content">
				                <div class="jqGrid_wrapper">
				                   	<table id="dataGrid"></table>
				                   	<div id="pager"></div>
				                </div>
				            </div>
				       	</div>
					</div>
				</div>
	    	</div>   	
		</div>
	</div>
</div>
<div style="display:none;">
	<!-- toolbar -->
	<div id="toolbar" style="float:right;margin-right:10px;">
		<button class="btn btn-primary btn-xs" type="button" onclick="add()">
			<i class="fa  fa-plus"></i> 新增 
		</button>
		<button class="btn btn-success btn-xs" type="button" onclick="update()">
			<i class="fa fa-pencil-square-o"></i> 修改
		</button>
		<button class="btn btn-danger btn-xs" type="button" onclick="detail()">
			<i class="fa fa-expeditedssl"></i> 详情 
		</button>
		<button class="btn btn-danger btn-xs" type="button" onclick="del()">
			<i class="fa fa-trash-o"></i> 删除 
		</button>
	</div>
</div>
<script th:replace="fragment/common_index_js"></script>
<script th:src="@{/js/plugin/laydate/laydate.js}"></script>
<script th:src="@{/js/module/sys/router/router-index.js(v=${stv})}"></script>
</body>
</html>